package com.quanshu.shop.goods.entity;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 作者  李哲
 * 创建时间 2018/7/24
 * 邮箱 lizhetongliao@163.com
 * 说明
 **/
@Data
public class GoodsListEntity implements Serializable {
    /**
     * code : 1
     * msg : 请求成功
     * category_name : 主营爆款
     * data : [{"id":"5","name":"测试商品4","sell_price":"12.00","img":"upload/2018/07/10/20180710042303715.jpg","up_time":1531823035,"sales_number":"3","point":5},{"id":"10","name":"测试商品8","sell_price":"12.00","img":"upload/2018/07/19/20180719073245218.png","up_time":1531999971,"sales_number":"0","point":0},{"id":"3","name":"测试商品3","sell_price":"21212.00","img":"upload/2018/07/10/20180710052950724.jpg","up_time":1531913230,"sales_number":"2","point":2}]
     */

    public List<DataEntity> data;

    @Data
    public class DataEntity {
        /**
         * id : 5
         * name : 测试商品4
         * sell_price : 12.00
         * img : upload/2018/07/10/20180710042303715.jpg
         * up_time : 1531823035
         * sales_number : 3
         * point : 5
         */

        public String id;
        public String name;
        public String sell_price;
        public String img;
        public long up_time;
        public String sales_number;
        public double point;
    }
}
